﻿using System;
using SharpSqlAnalyzer.nodes;

namespace SharpSqlAnalyzer.stmt
{
	// Token: 0x020000C4 RID: 196
	public class TUnsetStmt : TCustomSqlStatement
	{
		// Token: 0x06000712 RID: 1810 RVA: 0x002FFDF3 File Offset: 0x002FDFF3
		public TUnsetStmt(EDbVendor dbvendor) : base(dbvendor)
		{
			this.sqlstatementtype = ESqlStatementType.sstunset;
		}

		// Token: 0x06000713 RID: 1811 RVA: 0x002FFE07 File Offset: 0x002FE007
		public override int doParseStatement(TCustomSqlStatement psql)
		{
			if (this.rootNode == null)
			{
				return -1;
			}
			base.doParseStatement(psql);
			return 0;
		}

		// Token: 0x06000714 RID: 1812 RVA: 0x002FFE1C File Offset: 0x002FE01C
		public override void accept(TParseTreeVisitor v)
		{
			v.preVisit(this);
			v.postVisit(this);
		}

		// Token: 0x06000715 RID: 1813 RVA: 0x002FFE2C File Offset: 0x002FE02C
		public override void acceptChildren(TParseTreeVisitor v)
		{
			v.preVisit(this);
			v.postVisit(this);
		}
	}
}
